
package com.lianxian.xindong.home.mvp.ui.adapter;

import android.view.View;

import com.hxb.library.base.BaseHolder;
import com.hxb.library.base.DefaultAdapter;
import com.lianxian.xindong.home.R;
import com.lianxian.xindong.home.mvp.ui.holder.CircleImgItemHolder;

import java.util.List;

public class CircleImgAdapter extends DefaultAdapter<String> {

    public CircleImgAdapter(List<String> infos) {
        super(infos);
    }

    @Override
    public BaseHolder<String> getHolder(View v, int viewType) {
        return new CircleImgItemHolder(v);
    }

    @Override
    public int getLayoutId(int viewType) {
        return R.layout.item_circle_img;
    }
}
